@echo off
setlocal enabledelayedexpansion
set args=%*
:: replace problem characters in arguments
set args=%args:"='%
set args=%args:(=`(%
set args=%args:)=`)%
set invalid="='
if !args! == !invalid! ( set args= )
REM $env:USERPROFILE\HOME\.local\bin\docx2pdf1file.cmd
powershell -noprofile -ex unrestricted "& '%HOME%\.local\bin\windows\docx2pdf1file.ps1' %args%;exit $lastexitcode"
